{% extends 'index_base.html' %}

{% block title %}
测试
{% endblock %}

{% block head %}

{% endblock %}

{% block main %}
<!--左侧表格数据栏-->
<div class="main_lift" style="width: 80%; float: left;">
<table class="layui-table" lay-size="sm">
  <colgroup>
    <col width="150">
    <col width="200">
    <col>
  </colgroup>
  <thead>
    <tr>
        <th>时间</th>
        {% for car in cars %}
        <th>{{ car.car_code }}</th>
        {% endfor %}

        

    </tr>
  </thead>
  <tbody>
  {% for record in records %}
    <tr>
        <td>{{ record.write_day }}</td>
        <td>1</td>
        <td>2</td>
    </tr>
  {% endfor %}

  </tbody>
</table>
</div>

{% endblock %}

{% block lay_js %}

{% endblock %}


